package com.x.bff.app.model.vo.cms;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class StarSaveReqVO {
    @NotNull
    @Min(1)
    @ApiModelProperty("对用户进行点赞，填入用户id")
    private Long itemId;
    @JsonIgnore
    private Long starCustomerId;
    @NotNull
    @ApiModelProperty("点赞类容类型 3 用户")
    private Integer itemType;
    @NotNull
    @ApiModelProperty("true 喜欢  false 不喜欢")
    private Boolean star;
}
